#/usr/bin/env bash

files=`find -name "*.zip"`
for f in ${files[*]}; 
do 
    if ! unzip -t $f &>/dev/null ; then 
        echo "$f error"
        rm -f $f
    fi ; 
done
